from django.urls import path,re_path
from rest_framework_simplejwt.views import TokenObtainPairView,TokenRefreshView,TokenVerifyView
from . import views
urlpatterns = [
    path('login/',TokenObtainPairView.as_view(),name='login'),
    path('refresh/',TokenRefreshView.as_view(),name='refresh'),
    path('verify/', TokenVerifyView.as_view(), name='verify'),
    re_path('sms/(?P<phone>1[3-9]\d{9}>)/',views.SMSApiView.as_view())
]